package intelligentcity.model;

import java.util.ArrayList;
import java.util.List;

public abstract class Road {

    protected final static int distance = 20;
    protected List<Road> neighbours;

    public Road() {
        neighbours = new ArrayList<>();
    }

    public List<Road> getNeighbors() {
        return neighbours;
    }

    public void addNeighbour(Road neighbour) {
        neighbours.add(neighbour);
    }
}
